package com.etheart.framework.core.fulltextsearch;

import org.hibernate.search.FullTextQuery;

public class SearchResultSizeCallback<T> extends AbstractFullTextQueryCallback{

	public SearchResultSizeCallback(FullTextQueryParameter<T> param){
		super(param);
	}

	protected Object doInHibernate(FullTextQuery query) {
		return query.getResultSize();
	}
}
